#include "state.h"

int CState::nStatesNewed = 0;
int CState::nStatesDeleted = 0;

CState::CState()
{
	// Assign unique state ID
	static int nNextId = 0;	//	used to assign id's
	nStateId = nNextId;		//	assign the current available id
	nNextId++;

	nStatesNewed++;
}

CState::~CState()
{
	nStatesDeleted++;
}